package com.ml.elasticsearch.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xr-8
 * @create 2021-04-10 21:16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class User {
    private String name;
    private Integer age;
    private String sex;

    public User(String name, Integer age) {
        this.name = name;
        this.age = age;
    }
}
